#pragma once

#include <QWidget>
#include "GeneratedFiles/ui_SeaWaveRadarManagerWidget.h"
#include "radar_widget_base.h"
#include "../OwnRadar/OwnRadarController.h"

class SeaRadarManagerWidget : public RadarWidgetBase
{
    Q_OBJECT

public:
    SeaRadarManagerWidget(QWidget *parent = nullptr);
    ~SeaRadarManagerWidget();
	static double Tval;
    void Init();

    void HideAdjust();
    void HideRadarSwitch();
public slots:
    void RadioButtonClicked();
    void SpinBoxValChanged();
    void ToolButtonClicked();
	void lineEditArpValChanged(QString);

    void MsgSlot(const std::string& str, unsigned int radar_key);

    virtual void AzimuthModifyChanged(double);
    virtual void RangeModifyChanged(double);

private:
    bool OnReady();

private:
    Ui::SeaWaveRadarManagerWidget ui;

    OwnRadarController m_radar_controller;
};
